]> dgit.raspbian.org Git - gnome-shell.git/commit
ShellUserVerifier: fix fail counter
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 29 Oct 2012 16:40:55 +0000 (17:40 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 29 Oct 2012 16:54:12 +0000 (17:54 +0100)
commitb9463d23e88da8f6451254fc0f43f1614ce64cde
tree62771a7f5ad52e3a94952c671ad9b14fc81011c2
parent04debd162372602c86ba99aab8e183bc2e69d2b3
ShellUserVerifier: fix fail counter

If it is updated after checking, it counts the number of failures
not including the current one, so it allows one extra attempt. Instead,
by updating it before checking, we get the expected result of dropping the
curtain at the third password.

https://bugzilla.gnome.org/show_bug.cgi?id=687132
js/gdm/util.js